package destination8089.mapper;

import destination8089.entity.param.DestinationAddParam;
import destination8089.entity.po.Destination;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ttxxi
 * @since 2022-05-31
 */
public interface DestinationMapper extends BaseMapper<Destination> {
    @Select("select * from user where id = #{param.id}")
    Destination selectByDestinationId(@Param("param") DestinationAddParam param);

}
